<?php use_helper('sfCombine') ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
    <head>
        <?php if (!include_slot('title')): ?>
            <title>CPF Aizenay, Club Tennis de table Aizenay</title>
        <?php endif; ?>
        <?php include_http_metas() ?>
        <?php sfContext::getInstance()->getResponse()->addMeta( 'title', null ); // supprime la balise <meta name="title"> ?>
        <?php include_metas() ?>
        <?php include_combined_stylesheets() ?>
        <link rel="shortcut icon" type="image/x-icon" href="/images/myIcon.ico" />
    </head>
    <body>
       <?php include_combined_javascripts() // Trouver le moyen de le mettre a la fin sans faire buguer les js dépendants (highcharts/tinymce...) ?>
       <div id="full_container">
           <div id="header">
               <div class="container">
                   <a id="logo" href="<?php echo url_for('@localized_homepage'); ?>" title="CPF Aizenay">
                       <img src="/images/logo.png" alt="CPF Aizenay" width="218" height="82" />
                   </a>
                   <span class="cpfaizenay">Club Pongiste France d'Aizenay</span>
                   <ul class="header-sprite">
                       <li>
                           <a href="<?php echo sfConfig::get('app_facebook_uri') ?>" title="Facebook" class="social-network facebook" target="_blank"></a>
                       </li>
                       <li>
                           <a href="<?php echo url_for('@rss'); ?>" title="Flux rss" class="social-network rss"></a>
                       </li>
                       <li>
                           <a href="<?php echo url_for('@contact'); ?>" title="Contact" class="social-network contact"></a>
                       </li>
                   </ul>
               </div>
           </div>
           <div id="navigation">
               <div class="container">
                    <?php include_component('menu', 'menu'); ?>
                    <?php //include_partial('search/homeSearchWidget', array()); ?>
               </div>
           </div>

            <div id="content">
               <div class="content-bg"></div>
               <div id="breadcrumb">
                  <div class="container">
                      <?php include_component('isicsBreadcrumbs', 'show', array(
                        'root' => array('text' => 'Accueil', 'uri' => '@localized_homepage')
                      )) ?>
                      <div class="push_float"></div>
                  </div>
               </div>

                <div class="container">
                    <div class="sf_content">
                        <div id="<?php echo sfContext::getInstance()->getModuleName() ?>" class="middle-panel <?php echo sfContext::getInstance()->getActionName() ?>">
                            <div class="shadowed">
                                <div class="inner-boundary">
                                    <?php echo $sf_content ?>
                                </div>
                            </div>

                            <div id="bottomAdSense">
                                <?php include_partial('ad/googleAdSense_468x15'); ?>
                            </div>
                        </div>
                        <ul class="left-panel">
                            <li class="parent dashboard"><?php include_component('dashboard', 'dashboard'); ?></li>
                            <?php if (has_slot('leftPanel')): ?>
                                <?php include_slot('leftPanel') ?>
                            <?php else: ?>
                                <li class="parent"><?php include_partial('ad/googleAdSense_250x250'); ?></li>
                                <li class="parent"><?php include_component('event', 'homeShow'); ?></li>
                                <li class="parent"><?php include_component('mediaPhoto', 'rightPhotosWidget'); ?></li>
                            <?php endif; ?>
                        </ul>
                        <div class="push_float"></div>
                       
                    </div>
                </div>

                <div class="push_float"></div>
                <?php include_component('partner', 'homeShow', array()); ?>
            </div>
       </div>

        <div id="footer-full">
            <div class="footer-top">
                <div id="ul-footer" class="container">
                    <?php include_component('footer', 'footer') ?>
                </div>
            </div>
            <div class="footer-bottom">
                <div class="footer-bottom-bg"></div>
                <div class="footer-bottom-content container">
                    Copyright &copy; 2011 cpfaizenay.com All rights reserved.
                    <a href="<?php echo sfConfig::get('app_facebook_uri') ?>" target="_blank" class="footer_facebook">
                        <img src="/images/footer_facebook.png" alt="facebook" title="facebook" width="101" height="53"/>
                    </a>
                </div>
            </div>
        </div>
       <?php if (has_slot('tinymce')): ?>
            <?php include_slot('tinymce') ?>
       <?php endif; ?>
<!--        <script type="text/javascript">
           //Google Analytics
           var _gaq = _gaq || [];
          _gaq.push(['_setAccount', 'UA-19662787-1']);
          _gaq.push(['_trackPageview']);

          (function() {
            var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
            ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
          })();
        </script>-->
    </body>
</html>